﻿/**  版本信息模板在安装目录下，可自行修改。
* T_UPS.cs
*
* 功 能： N/A
* 类 名： T_UPS
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2017/5/24 21:45:59   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using SYDZ.WMS.DBUtility;//Please add references
namespace WMSAML.Warehouse.DAL
{
	/// <summary>
	/// 数据访问类:T_UPS
	/// </summary>
	public partial class T_UPS
	{
		public T_UPS()
		{}
		#region  BasicMethod

		/// <summary>
		/// 得到最大ID
		/// </summary>
		public int GetMaxId()
		{
		return DbHelperSQL.GetMaxID("UPS_ID", "T_UPS"); 
		}

		/// <summary>
		/// 是否存在该记录
		/// </summary>
		public bool Exists(int UPS_ID)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select count(1) from T_UPS");
			strSql.Append(" where UPS_ID=@UPS_ID");
			SqlParameter[] parameters = {
					new SqlParameter("@UPS_ID", SqlDbType.Int,4)
			};
			parameters[0].Value = UPS_ID;

			return DbHelperSQL.Exists(strSql.ToString(),parameters);
		}


		/// <summary>
		/// 增加一条数据
		/// </summary>
		public int Add(WMSAML.Warehouse.Model.T_UPS model)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("insert into T_UPS(");
			strSql.Append("UPS_Data,UPS_date,UPS_SO,UPS_SAPO,UPS_Model,UPS_PQ,UPS_CRDD,UPS_CustomerName,UPS_CNL,UPS_CSA,UPS_City,UPS_Region,UPS_Postcode,UPS_CustomerPO,UPS_SOL,UPS_SPL,UPS_Country,UPS_PCOrder,UPS_LASTAPOPR,UPS_TEL,UPS_SL,UPS_Datetime,UPS_UserNO,UPS_Str1,UPS_Str2,UPS_Str3,UPS_Str4,UPS_Str5)");
			strSql.Append(" values (");
			strSql.Append("@UPS_Data,@UPS_date,@UPS_SO,@UPS_SAPO,@UPS_Model,@UPS_PQ,@UPS_CRDD,@UPS_CustomerName,@UPS_CNL,@UPS_CSA,@UPS_City,@UPS_Region,@UPS_Postcode,@UPS_CustomerPO,@UPS_SOL,@UPS_SPL,@UPS_Country,@UPS_PCOrder,@UPS_LASTAPOPR,@UPS_TEL,@UPS_SL,@UPS_Datetime,@UPS_UserNO,@UPS_Str1,@UPS_Str2,@UPS_Str3,@UPS_Str4,@UPS_Str5)");
			strSql.Append(";select @@IDENTITY");
			SqlParameter[] parameters = {
					new SqlParameter("@UPS_Data", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_date", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SAPO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Model", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_PQ", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CRDD", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CustomerName", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CNL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CSA", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_City", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Region", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Postcode", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CustomerPO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SOL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SPL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Country", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_PCOrder", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_LASTAPOPR", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_TEL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Datetime", SqlDbType.DateTime),
					new SqlParameter("@UPS_UserNO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Str1", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str2", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str3", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str4", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str5", SqlDbType.NVarChar,-1)};
			parameters[0].Value = model.UPS_Data;
			parameters[1].Value = model.UPS_date;
			parameters[2].Value = model.UPS_SO;
			parameters[3].Value = model.UPS_SAPO;
			parameters[4].Value = model.UPS_Model;
			parameters[5].Value = model.UPS_PQ;
			parameters[6].Value = model.UPS_CRDD;
			parameters[7].Value = model.UPS_CustomerName;
			parameters[8].Value = model.UPS_CNL;
			parameters[9].Value = model.UPS_CSA;
			parameters[10].Value = model.UPS_City;
			parameters[11].Value = model.UPS_Region;
			parameters[12].Value = model.UPS_Postcode;
			parameters[13].Value = model.UPS_CustomerPO;
			parameters[14].Value = model.UPS_SOL;
			parameters[15].Value = model.UPS_SPL;
			parameters[16].Value = model.UPS_Country;
			parameters[17].Value = model.UPS_PCOrder;
			parameters[18].Value = model.UPS_LASTAPOPR;
			parameters[19].Value = model.UPS_TEL;
			parameters[20].Value = model.UPS_SL;
			parameters[21].Value = model.UPS_Datetime;
			parameters[22].Value = model.UPS_UserNO;
			parameters[23].Value = model.UPS_Str1;
			parameters[24].Value = model.UPS_Str2;
			parameters[25].Value = model.UPS_Str3;
			parameters[26].Value = model.UPS_Str4;
			parameters[27].Value = model.UPS_Str5;

			object obj = DbHelperSQL.GetSingle(strSql.ToString(),parameters);
			if (obj == null)
			{
				return 0;
			}
			else
			{
				return Convert.ToInt32(obj);
			}
		}
		/// <summary>
		/// 更新一条数据
		/// </summary>
		public bool Update(WMSAML.Warehouse.Model.T_UPS model)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("update T_UPS set ");
			strSql.Append("UPS_Data=@UPS_Data,");
			strSql.Append("UPS_date=@UPS_date,");
			strSql.Append("UPS_SO=@UPS_SO,");
			strSql.Append("UPS_SAPO=@UPS_SAPO,");
			strSql.Append("UPS_Model=@UPS_Model,");
			strSql.Append("UPS_PQ=@UPS_PQ,");
			strSql.Append("UPS_CRDD=@UPS_CRDD,");
			strSql.Append("UPS_CustomerName=@UPS_CustomerName,");
			strSql.Append("UPS_CNL=@UPS_CNL,");
			strSql.Append("UPS_CSA=@UPS_CSA,");
			strSql.Append("UPS_City=@UPS_City,");
			strSql.Append("UPS_Region=@UPS_Region,");
			strSql.Append("UPS_Postcode=@UPS_Postcode,");
			strSql.Append("UPS_CustomerPO=@UPS_CustomerPO,");
			strSql.Append("UPS_SOL=@UPS_SOL,");
			strSql.Append("UPS_SPL=@UPS_SPL,");
			strSql.Append("UPS_Country=@UPS_Country,");
			strSql.Append("UPS_PCOrder=@UPS_PCOrder,");
			strSql.Append("UPS_LASTAPOPR=@UPS_LASTAPOPR,");
			strSql.Append("UPS_TEL=@UPS_TEL,");
			strSql.Append("UPS_SL=@UPS_SL,");
			strSql.Append("UPS_Datetime=@UPS_Datetime,");
			strSql.Append("UPS_UserNO=@UPS_UserNO,");
			strSql.Append("UPS_Str1=@UPS_Str1,");
			strSql.Append("UPS_Str2=@UPS_Str2,");
			strSql.Append("UPS_Str3=@UPS_Str3,");
			strSql.Append("UPS_Str4=@UPS_Str4,");
			strSql.Append("UPS_Str5=@UPS_Str5");
			strSql.Append(" where UPS_ID=@UPS_ID");
			SqlParameter[] parameters = {
					new SqlParameter("@UPS_Data", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_date", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SAPO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Model", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_PQ", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CRDD", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CustomerName", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CNL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CSA", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_City", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Region", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Postcode", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_CustomerPO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SOL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SPL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Country", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_PCOrder", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_LASTAPOPR", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_TEL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_SL", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Datetime", SqlDbType.DateTime),
					new SqlParameter("@UPS_UserNO", SqlDbType.NVarChar,50),
					new SqlParameter("@UPS_Str1", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str2", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str3", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str4", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_Str5", SqlDbType.NVarChar,-1),
					new SqlParameter("@UPS_ID", SqlDbType.Int,4)};
			parameters[0].Value = model.UPS_Data;
			parameters[1].Value = model.UPS_date;
			parameters[2].Value = model.UPS_SO;
			parameters[3].Value = model.UPS_SAPO;
			parameters[4].Value = model.UPS_Model;
			parameters[5].Value = model.UPS_PQ;
			parameters[6].Value = model.UPS_CRDD;
			parameters[7].Value = model.UPS_CustomerName;
			parameters[8].Value = model.UPS_CNL;
			parameters[9].Value = model.UPS_CSA;
			parameters[10].Value = model.UPS_City;
			parameters[11].Value = model.UPS_Region;
			parameters[12].Value = model.UPS_Postcode;
			parameters[13].Value = model.UPS_CustomerPO;
			parameters[14].Value = model.UPS_SOL;
			parameters[15].Value = model.UPS_SPL;
			parameters[16].Value = model.UPS_Country;
			parameters[17].Value = model.UPS_PCOrder;
			parameters[18].Value = model.UPS_LASTAPOPR;
			parameters[19].Value = model.UPS_TEL;
			parameters[20].Value = model.UPS_SL;
			parameters[21].Value = model.UPS_Datetime;
			parameters[22].Value = model.UPS_UserNO;
			parameters[23].Value = model.UPS_Str1;
			parameters[24].Value = model.UPS_Str2;
			parameters[25].Value = model.UPS_Str3;
			parameters[26].Value = model.UPS_Str4;
			parameters[27].Value = model.UPS_Str5;
			parameters[28].Value = model.UPS_ID;

			int rows=DbHelperSQL.ExecuteSql(strSql.ToString(),parameters);
			if (rows > 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}

		/// <summary>
		/// 删除一条数据
		/// </summary>
		public bool Delete(int UPS_ID)
		{
			
			StringBuilder strSql=new StringBuilder();
			strSql.Append("delete from T_UPS ");
			strSql.Append(" where UPS_ID=@UPS_ID");
			SqlParameter[] parameters = {
					new SqlParameter("@UPS_ID", SqlDbType.Int,4)
			};
			parameters[0].Value = UPS_ID;

			int rows=DbHelperSQL.ExecuteSql(strSql.ToString(),parameters);
			if (rows > 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}
		/// <summary>
		/// 批量删除数据
		/// </summary>
		public bool DeleteList(string UPS_IDlist )
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("delete from T_UPS ");
			strSql.Append(" where UPS_ID in ("+UPS_IDlist + ")  ");
			int rows=DbHelperSQL.ExecuteSql(strSql.ToString());
			if (rows > 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}


		/// <summary>
		/// 得到一个对象实体
		/// </summary>
		public WMSAML.Warehouse.Model.T_UPS GetModel(int UPS_ID)
		{
			
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select  top 1 UPS_ID,UPS_Data,UPS_date,UPS_SO,UPS_SAPO,UPS_Model,UPS_PQ,UPS_CRDD,UPS_CustomerName,UPS_CNL,UPS_CSA,UPS_City,UPS_Region,UPS_Postcode,UPS_CustomerPO,UPS_SOL,UPS_SPL,UPS_Country,UPS_PCOrder,UPS_LASTAPOPR,UPS_TEL,UPS_SL,UPS_Datetime,UPS_UserNO,UPS_Str1,UPS_Str2,UPS_Str3,UPS_Str4,UPS_Str5 from T_UPS ");
			strSql.Append(" where UPS_ID=@UPS_ID");
			SqlParameter[] parameters = {
					new SqlParameter("@UPS_ID", SqlDbType.Int,4)
			};
			parameters[0].Value = UPS_ID;

			WMSAML.Warehouse.Model.T_UPS model=new WMSAML.Warehouse.Model.T_UPS();
			DataSet ds=DbHelperSQL.Query(strSql.ToString(),parameters);
			if(ds.Tables[0].Rows.Count>0)
			{
				return DataRowToModel(ds.Tables[0].Rows[0]);
			}
			else
			{
				return null;
			}
		}


		/// <summary>
		/// 得到一个对象实体
		/// </summary>
		public WMSAML.Warehouse.Model.T_UPS DataRowToModel(DataRow row)
		{
			WMSAML.Warehouse.Model.T_UPS model=new WMSAML.Warehouse.Model.T_UPS();
			if (row != null)
			{
				if(row["UPS_ID"]!=null && row["UPS_ID"].ToString()!="")
				{
					model.UPS_ID=int.Parse(row["UPS_ID"].ToString());
				}
				if(row["UPS_Data"]!=null)
				{
					model.UPS_Data=row["UPS_Data"].ToString();
				}
				if(row["UPS_date"]!=null)
				{
					model.UPS_date=row["UPS_date"].ToString();
				}
				if(row["UPS_SO"]!=null)
				{
					model.UPS_SO=row["UPS_SO"].ToString();
				}
				if(row["UPS_SAPO"]!=null)
				{
					model.UPS_SAPO=row["UPS_SAPO"].ToString();
				}
				if(row["UPS_Model"]!=null)
				{
					model.UPS_Model=row["UPS_Model"].ToString();
				}
				if(row["UPS_PQ"]!=null)
				{
					model.UPS_PQ=row["UPS_PQ"].ToString();
				}
				if(row["UPS_CRDD"]!=null)
				{
					model.UPS_CRDD=row["UPS_CRDD"].ToString();
				}
				if(row["UPS_CustomerName"]!=null)
				{
					model.UPS_CustomerName=row["UPS_CustomerName"].ToString();
				}
				if(row["UPS_CNL"]!=null)
				{
					model.UPS_CNL=row["UPS_CNL"].ToString();
				}
				if(row["UPS_CSA"]!=null)
				{
					model.UPS_CSA=row["UPS_CSA"].ToString();
				}
				if(row["UPS_City"]!=null)
				{
					model.UPS_City=row["UPS_City"].ToString();
				}
				if(row["UPS_Region"]!=null)
				{
					model.UPS_Region=row["UPS_Region"].ToString();
				}
				if(row["UPS_Postcode"]!=null)
				{
					model.UPS_Postcode=row["UPS_Postcode"].ToString();
				}
				if(row["UPS_CustomerPO"]!=null)
				{
					model.UPS_CustomerPO=row["UPS_CustomerPO"].ToString();
				}
				if(row["UPS_SOL"]!=null)
				{
					model.UPS_SOL=row["UPS_SOL"].ToString();
				}
				if(row["UPS_SPL"]!=null)
				{
					model.UPS_SPL=row["UPS_SPL"].ToString();
				}
				if(row["UPS_Country"]!=null)
				{
					model.UPS_Country=row["UPS_Country"].ToString();
				}
				if(row["UPS_PCOrder"]!=null)
				{
					model.UPS_PCOrder=row["UPS_PCOrder"].ToString();
				}
				if(row["UPS_LASTAPOPR"]!=null)
				{
					model.UPS_LASTAPOPR=row["UPS_LASTAPOPR"].ToString();
				}
				if(row["UPS_TEL"]!=null)
				{
					model.UPS_TEL=row["UPS_TEL"].ToString();
				}
				if(row["UPS_SL"]!=null)
				{
					model.UPS_SL=row["UPS_SL"].ToString();
				}
				if(row["UPS_Datetime"]!=null && row["UPS_Datetime"].ToString()!="")
				{
					model.UPS_Datetime=DateTime.Parse(row["UPS_Datetime"].ToString());
				}
				if(row["UPS_UserNO"]!=null)
				{
					model.UPS_UserNO=row["UPS_UserNO"].ToString();
				}
				if(row["UPS_Str1"]!=null)
				{
					model.UPS_Str1=row["UPS_Str1"].ToString();
				}
				if(row["UPS_Str2"]!=null)
				{
					model.UPS_Str2=row["UPS_Str2"].ToString();
				}
				if(row["UPS_Str3"]!=null)
				{
					model.UPS_Str3=row["UPS_Str3"].ToString();
				}
				if(row["UPS_Str4"]!=null)
				{
					model.UPS_Str4=row["UPS_Str4"].ToString();
				}
				if(row["UPS_Str5"]!=null)
				{
					model.UPS_Str5=row["UPS_Str5"].ToString();
				}
			}
			return model;
		}

		/// <summary>
		/// 获得数据列表
		/// </summary>
		public DataSet GetList(string strWhere)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select UPS_ID,UPS_Data,UPS_date,UPS_SO,UPS_SAPO,UPS_Model,UPS_PQ,UPS_CRDD,UPS_CustomerName,UPS_CNL,UPS_CSA,UPS_City,UPS_Region,UPS_Postcode,UPS_CustomerPO,UPS_SOL,UPS_SPL,UPS_Country,UPS_PCOrder,UPS_LASTAPOPR,UPS_TEL,UPS_SL,UPS_Datetime,UPS_UserNO,UPS_Str1,UPS_Str2,UPS_Str3,UPS_Str4,UPS_Str5 ");
			strSql.Append(" FROM T_UPS ");
			if(strWhere.Trim()!="")
			{
				strSql.Append(" where "+strWhere);
			}
			return DbHelperSQL.Query(strSql.ToString());
		}

		/// <summary>
		/// 获得前几行数据
		/// </summary>
		public DataSet GetList(int Top,string strWhere,string filedOrder)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select ");
			if(Top>0)
			{
				strSql.Append(" top "+Top.ToString());
			}
			strSql.Append(" UPS_ID,UPS_Data,UPS_date,UPS_SO,UPS_SAPO,UPS_Model,UPS_PQ,UPS_CRDD,UPS_CustomerName,UPS_CNL,UPS_CSA,UPS_City,UPS_Region,UPS_Postcode,UPS_CustomerPO,UPS_SOL,UPS_SPL,UPS_Country,UPS_PCOrder,UPS_LASTAPOPR,UPS_TEL,UPS_SL,UPS_Datetime,UPS_UserNO,UPS_Str1,UPS_Str2,UPS_Str3,UPS_Str4,UPS_Str5 ");
			strSql.Append(" FROM T_UPS ");
			if(strWhere.Trim()!="")
			{
				strSql.Append(" where "+strWhere);
			}
			strSql.Append(" order by " + filedOrder);
			return DbHelperSQL.Query(strSql.ToString());
		}

		/// <summary>
		/// 获取记录总数
		/// </summary>
		public int GetRecordCount(string strWhere)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("select count(1) FROM T_UPS ");
			if(strWhere.Trim()!="")
			{
				strSql.Append(" where "+strWhere);
			}
			object obj = DbHelperSQL.GetSingle(strSql.ToString());
			if (obj == null)
			{
				return 0;
			}
			else
			{
				return Convert.ToInt32(obj);
			}
		}
		/// <summary>
		/// 分页获取数据列表
		/// </summary>
		public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
		{
			StringBuilder strSql=new StringBuilder();
			strSql.Append("SELECT * FROM ( ");
			strSql.Append(" SELECT ROW_NUMBER() OVER (");
			if (!string.IsNullOrEmpty(orderby.Trim()))
			{
				strSql.Append("order by T." + orderby );
			}
			else
			{
				strSql.Append("order by T.UPS_ID desc");
			}
			strSql.Append(")AS Row, T.*  from T_UPS T ");
			if (!string.IsNullOrEmpty(strWhere.Trim()))
			{
				strSql.Append(" WHERE " + strWhere);
			}
			strSql.Append(" ) TT");
			strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
			return DbHelperSQL.Query(strSql.ToString());
		}

		/*
		/// <summary>
		/// 分页获取数据列表
		/// </summary>
		public DataSet GetList(int PageSize,int PageIndex,string strWhere)
		{
			SqlParameter[] parameters = {
					new SqlParameter("@tblName", SqlDbType.VarChar, 255),
					new SqlParameter("@fldName", SqlDbType.VarChar, 255),
					new SqlParameter("@PageSize", SqlDbType.Int),
					new SqlParameter("@PageIndex", SqlDbType.Int),
					new SqlParameter("@IsReCount", SqlDbType.Bit),
					new SqlParameter("@OrderType", SqlDbType.Bit),
					new SqlParameter("@strWhere", SqlDbType.VarChar,1000),
					};
			parameters[0].Value = "T_UPS";
			parameters[1].Value = "UPS_ID";
			parameters[2].Value = PageSize;
			parameters[3].Value = PageIndex;
			parameters[4].Value = 0;
			parameters[5].Value = 0;
			parameters[6].Value = strWhere;	
			return DbHelperSQL.RunProcedure("UP_GetRecordByPage",parameters,"ds");
		}*/

		#endregion  BasicMethod
		#region  ExtensionMethod

		#endregion  ExtensionMethod
	}
}

